/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package view;

import java.text.DecimalFormat;
import java.text.NumberFormat;

/**
 *
 * @author chapmand
 */
public class SimplePurchaseOrderView {
    private final String cost;
	private final String overview;
        private final int qty;

	public SimplePurchaseOrderView(final float cost, final String overview, final int qty) {
		super();
		final NumberFormat money = new DecimalFormat("$#0.00");
		this.cost = money.format(cost);
		this.overview = overview;
                this.qty = qty;
	}

	public String getCost() {
		return cost;
	}

	public String getOverview() {
		return overview;
	}
        
        public int getQty() {
            return qty;
        }
}
